#coding=utf-8
'''
Created on 2015��9��11��

@author: Administrator
'''
import common.config
from selenium import webdriver
import time
import testcase
def Login():
    Driver = webdriver.Firefox()
    RouterIp = 'http://192.168.199.1'
    Driver.get(RouterIp)
    Driver.maximize_window()
    Driver.implicitly_wait(10)
    Driver.find_element_by_id("input_password1").clear()
    time.sleep(1)
    Driver.find_element_by_id("input_password1").send_keys("12345678")
    time.sleep(2)
    Driver.find_element_by_id("submit_btn").click()
    return Driver
    
if __name__=='__main__':
    Login()
    